public class Score {
    private String stuNo;
    private String courseNo;
    private int score;

    public Score (){

    }

    public Score(String a,String b,int c){
        stuNo=a;
        courseNo=b;
        score=c;
    }

    private void setters(){

    }
    private void getters(){

    }
    public String toString(){
        return "学号:"+stuNo+" 课程编号："+courseNo+" 课程成绩:"+score;
    }

}

class Test5{
    public static void main(String[] args) {
        Score score=new Score("2599","123",80);
        System.out.println(score);
    }

}
